<?php

//define('ADSERVER_APPLICATION_ID',				1);
define('KEYWORDS_APPLICATION_ID',				2);

// Common Icons
define('IMAGE_NAME_DETAIL',						'search_small.png');
define('IMAGE_NAME_SAVE',						'save_small.png');
define('IMAGE_NAME_HOME_SMALL',					'home_small.png');
define('IMAGE_NAME_EDIT_SMALL', 				'edit_small.png');
define('IMAGE_NAME_EDIT_DISABLED', 				'edit_small_disabled.png');
define('IMAGE_NAME_EDIT_NOT', 					'none_modifier_small.png');
define('IMAGE_NAME_DELETE_SMALL',				'delete_small.png');
define('IMAGE_NAME_CONFIG_SMALL',				'configure_small.png');
define('IMAGE_NAME_DELETE_NOT',					'delete_not_small.png');
define('IMAGE_NAME_DELETE',						'delete_small.png');
define('IMAGE_NAME_MORE', 						'add_small.png');
define('IMAGE_NAME_FOLDER',						'folder.png');
define('IMAGE_NAME_CALENDAR_MEDIUM',			'calendar.png');
define('IMAGE_NAME_CALENDAR_SMALL',				'calendar_small.png');
define('IMAGE_NAME_REDO_SMALL',					'redo.png');
define('IMAGE_NAME_PROGRESS_SMALL',				'refresh_small.png');
define('IMAGE_NAME_RESOLVE_SMALL',				'configure_small.png');
define('IMAGE_NAME_CLOSE_SMALL',				'flag_small.png');
define('IMAGE_NAME_MAIL_UNREAD_SMALL',			'mail_unread_small.png');
define('IMAGE_NAME_MAIL_READ_SMALL',			'mail_read_small.png');
define('IMAGE_NAME_READ_SMALL',					'read_small.png');
define('IMAGE_NAME_MARK_UNREAD_SMALL',			'mark_unread_small.png');
define('IMAGE_NAME_SEND_MESSAGE_SMALL',			'send_mail_small.png');
define('IMAGE_NAME_SENT_MESSAGE_SMALL',			'sent_small.png');
define('IMAGE_NAME_RECEIVED_MESSAGE_SMALL',		'received_small.png');
define('IMAGE_MISSING',			 			'no_image_'.APP_DEFAULT_LANGUAGE.'.png');
define('IMAGE_UP',							  'up.png');
define('IMAGE_DOWN',							'down.png');
define('IMAGE_FLAG_ENG',			 			'flag_eng.png');
define('IMAGE_FLAG_FRA',			 			'flag_fra.png');

//*********************************************************
// Module Icons
//*********************************************************

define('IMAGE_NAME_BLOCK',					  'logos.png');

//CAMPAGNE
define('IMAGE_NAME_CAMPAGNE', 					'ads.png');
define('IMAGE_NAME_CAMPAGNE_SMALL', 			'ads_small.png');
define('IMAGE_NAME_CAMPAGNE_ADD_SMALL', 		'ads_add_small.png');

//AJUSTEMENT TECHNIQUE
define('IMAGE_NAME_HTC_REGIE_LOGO',				'logos.png');
define('IMAGE_NAME_MINUS_SMALL', 				'minus_small.png');
define('_IMAGE_SUIVANT',						'suivant');
define('_IMAGE_PRECEDENT',						'precedent');

//GROUPE
define('IMAGE_NAME_GROUP_SMALL',				'object_small.png');
define('IMAGE_NAME_GROUP',						'object.png');
define('IMAGE_NAME_OBJECT_ADD',					'object_add.png');

//EMPLACEMENT
define('IMAGE_NAME_EMPLACEMENT_SMALL',			'apps_small.png');
define('IMAGE_NAME_EMPLACEMENT_ADULTE_SMALL',	'apps_adult_small.png');
define('IMAGE_NAME_EMPLACEMENT',				'apps.png');
define('IMAGE_NAME_APPS_ADD',					'apps_add.png');

define('ACT_ON_EMPLACEMENT_FORMAT_COMPATIBLE',					'10');
define('ACT_ON_EMPLACEMENT_FORMAT',			 				'20');
define('ACT_ON_EMPLACEMENT_VISUAL',			 				'30');

//AUCTION
define('IMAGE_NAME_AUCTION',   					'auction.png');
define('IMAGE_NAME_AUCTION_SMALL',   			'auction_small.png');

//auction filter
define('AUCTION_DISPLAY_ALL',	0);
define('AUCTION_NON_ACTIVE',  	-1);
define('AUCTION_ACTIVE',  		1);

//INVENTORY
define('IMAGE_NAME_INVENTORY',					'inven.png') ;
define('IMAGE_NAME_INVENTORY_SMALL',			'inven_small.png') ;
define('IMAGE_NAME_INVENTORY_ADD',				'inven_add.png');

//FORMAT
define('IMAGE_NAME_FORMAT_PUBLICITE_SMALL',		'preferences_small.png');
define('IMAGE_NAME_FORMAT_PUBLICITE',			'preferences.png');

// THEMATIC
define('IMAGE_THEME',						'theme.png');
define('IMAGE_THEME_ADD',					'theme_add.png');

//PLANNING
define('IMAGE_PLANNING_SMALL', 					'large_icons_small');

//CHIFFRE AFFAIRE
define('IMAGE_NAME_CA', 						'money.png');

//ESTIMATION DU TRAFFIC
define('IMAGE_NAME_FLAG',						'flag.png');
define('IMAGE_NAME_FLAG_SMALL',					'flag_small.png');
define('IMAGE_NAME_CALCULATOR_SMALL',			'calculator_small.png');
define('IMAGE_NAME_CALCULATOR',					'calculator.png');

//UTILISATEUR
define('IMAGE_NAME_USER',						'user.png');
define('IMAGE_NAME_USER_ADD',					'user_add.png');
define('IMAGE_NAME_USERS_SMALL',				'users_small.png');
define('IMAGE_NAME_USER_SMALL',					'user_small.png');
define('IMAGE_NAME_USERS_ADD',					'users_add.png');
define('IMAGE_NAME_ADMIN_ADD',					'admin_add.png');
define('IMAGE_NAME_ADMIN_SMALL',				'admin_small.png');
define('IMAGE_NAME_ADMIN_UP_SMALL',				'admin_up_small.png');
define('IMAGE_NAME_KEY_SMALL', 					'key_small.png');
define('IMAGE_NAME_KEY', 						'key.png');
define('_IMAGE_MODIFIER',						'edit');
define('_IMAGE_CO_MODIFIER',					'search');
define('_IMAGE_SUPPRIMER',						'delete');
define('_IMAGE_DELETE',							'delete');

//Images
define('IMAGE_NAME_REGIE_SMALL',				'regie_small.png');
define('IMAGE_NAME_REGIE_ADD',					'regie_add.png');
define('IMAGE_NAME_EXCEL',						'excel.png');
define('IMAGE_NAME_EDIT',						'edit.png');
define('IMAGE_NAME_CONFIG_REVERTED_SMALL',		'configure_reverted_small.png');
define('IMAGE_NAME_PARAMETER',					'parameter.png');
define('IMAGE_NAME_PARAMETER_SMALL',			'parameter_small.png');
define('IMAGE_NAME_HISTORY', 					'history.png');
define('IMAGE_NAME_HISTORY_SMALL', 				'history_small.png');
define('IMAGE_NAME_REPORTING',					'chart.png');
define('IMAGE_NAME_REPORTING_SMALL',			'chart_small.png');
define('IMAGE_NAME_FAX_SMALL',					'fax_small.png');
define('IMAGE_NAME_ZOOM_IN_SMALL',				'zoom_in_small.png');
define('IMAGE_NAME_DONE_SMALL',					'done_small.png');
define('IMAGE_NAME_TECH_DATA',					'tech_data.png');
define('IMAGE_NAME_TECH_DATA_SMALL',			'tech_data_small.png');
define('IMAGE_NAME_TECH_DATA_TEMPLATE',					'td_templates.png');
define('IMAGE_NAME_TECH_DATA_TEMPLATE_SMALL',			'td_templates_small.png');
define('IMAGE_NAME_DEMAND_SMALL',				'demand_small.png');
define('IMAGE_NAME_SIMULATE_SMALL', 			'simulate_small.png');
define('IMAGE_NAME_DEMAND_ADD_SMALL', 			'ads_add_small.png');
define('IMAGE_NAME_STOP_SMALL',		 			'stop_small.png');
define('IMAGE_NAME_PAUSE_SMALL',	 			'pause_small.png');
define('IMAGE_NAME_RESUME_SMALL',	 			'resume_small.png');
define('IMAGE_NAME_FICHE',						'fiche.png');
define('IMAGE_NAME_FICHE_SMALL',				'fiche_small.png');
define('IMAGE_NAME_INFO2_SMALL',				'info2_small.png');
define('_IMAGE_DONE',							'done');
define('_IMAGE_SEARCH',							'search');
define('_IMAGE_SEARCH_BLOCKED',					'search_blocked');
define('_IMAGE_CALENDAR',						'calendar');
define('_IMAGE_CHAT',							'chat');
define('IMAGE_NAME_TRANSFORM',					'redo.png');
define('IMAGE_NAME_SPACER',						'spacer.jpg');
define('IMAGE_NAME_COEFFICIENT_MEDIUM',			'flag.png');
define('IMAGE_NAME_ENABLE',						'done_small.png');
define('IMAGE_NAME_DISABLE',			'stop.png');

define('IMAGE_NAME_ATTACH_SMALL',				'attach.png');
define('IMAGE_NAME_REFUSE_SMALL',				'refuse.png');

define('IMAGE_NAME_COUNTRY',					'country.png');
define('IMAGE_NAME_COUNTRY_SMALL',				'country_small.png');
define('IMAGE_NAME_LANGUAGE',					'language.png');
define('IMAGE_NAME_LANGUAGE_SMALL',				'language_small.png');
define('IMAGE_NAME_CURRENCY',					'currency.png');
define('IMAGE_NAME_CURRENCY_SMALL',				'currency_small.png');

define('ACT_TRANSFORM', 						10);
define('ACT_RETRANSFORM', 						20);
define('ACT_DETAIL_EDIT',						80);

//image size
define('IMAGE_SIZE_SMALL', 						'small');
define('IMAGE_ICON_FILE_EXTENSION', 			'png');

// System constants
define('ADMIN_HOME', 							APPLICATION_URL . '/home/list/');
define('NOMBRE_ITEM_HOME_PAGE',					3);
define('DEFAULT_PASSWORD_LENGTH',				6);

define('COPYRIGHT',								'Copyright 2008 &copy;');

// user information
define('ADMIN_HTC',								1);
define('ADMIN_SUPPORT',							2);

//user management
define('ACCOUNT_TYPE_ANNONCEUR',				1);
define('ACCOUNT_TYPE_AGENT',					2);
define('ACCOUNT_TYPE_AGENT_ANNONCEUR',			10);
define('ACCOUNT_TYPE_AGENT_LOGIN',				12);
define('ACCOUNT_TYPE_REGIE',					3);
define('ACCOUNT_TYPE_SUPPORT',					4);

//form action const
define('ACT_EDIT',								10);
define('ACT_VALID_EDIT',						20);
define('ACT_DELETE',							30);
define('ACT_DISABLE',							40);
define('ACT_ENABLE',							50);
define('ACT_REFUSE',							60);
define('ACT_CANCEL',							65);
define('ACT_SIMULATE',							70);
define('ACT_CHANGE_MASTER',						90);
define('ACT_PAUSE',								110);
define('ACT_STOP',								120);
define('ACT_RESUME',							130);
define('ACT_SUBMIT',							160);
define('ACT_PROGRESS',							170);
define('ACT_ESTIMATE',							180);
define('ACT_ESTIMATE_SYS',						185);
define('ACT_PROPOSE',							190);
define('ACT_ACCEPT',							200);
define('ACT_ADJUST',							210);
define('ACT_REGENERATE',						220);
define('ACT_EXPORT',							230);
define('ACT_RESOLVE',							240);
define('ACT_CLOSE',							 250);

//paginer
define('PAGING_CSS_LINK_CLASS', 				'paging');
define('PAGING_PREV',							'&laquo; ');
define('PAGING_NEXT',							' &raquo;');
define('PAGING_SEPARATOR',						'&nbsp;-&nbsp;');
define('PAGING_CSS_CURRENT_PAGE',				'current_page');
define('PAGING_DEFAULT_ITEM_PER_PAGE',			20);
define('PAGING_DEFAULT_PAGE_DELTA',				5);

//Format Publicite constraints
/*IMAGE_AVEC_ACCROCHE_TEASER*/
define('NBCHAR_IMAGE_AVEC_ACCROCHE',					22);
define('NBCHAR_IMAGE_AVEC_TEASER',					  24);
define('IMG1_IMAGE_AVEC_ACCROCHE_TEASER_REQ',				   'JPEG,65x65,5120'); //w1xh1|w2xh2|...,s1	 //reference : or -> '|'
define('IMG1_IMAGE_AVEC_ACCROCHE_TEASER_SIZE_DISPLAY',		  '65x65');

define('TARIFF_CPM',							1);
define('TARIFF_CPM_CLIC',						2);

$mode_tariff = array
(	0	=> '--Choisissez--',
	TARIFF_CPM 	=> 'CPM',
	TARIFF_CPM_CLIC 	=> 'CPC'
);

define('FICHE_DIR',								APPLICATION_DIR.'/application/files/generated/fiches');

define('TOUT_PUBLIC', 							1);
define('CHAT_BLOG_IDO', 						2);
define('CHARME_SEXY', 							3);

//planning
define('_LB_PLANNING_MAX_NB_DAYS', 				14);

//Improve GUI coherency
define('SIZE_NAME',								20);
define('SIZE_POSITION',								20);
define('SIZE_COL_DESCRIPTION',					30);
define('SIZE_ROW_DESCRIPTION',					5);

define('USER_PROJECT_ACCESS_ALLOWED_VODAFONELIVE', 	1);
define('USER_PROJECT_ACCESS_ALLOWED_GALLERY', 		2);
define('USER_PROJECT_ACCESS_ALLOWED_FAST',		 	3);

define('SEND_LINK',								10);
define('CHANGE_PASSWORD',						20);

// parameter
define('PARAM_TYPE_NUMBER',						10);
define('PARAM_TYPE_RATE_NUMBER',				20);
define('PARAM_TYPE_BOOLEAN',					30);
define('PARAM_TYPE_DATETIME',					40);
define('PARAM_TYPE_POSITIVE_NUMBER',			50);
define('PARAM_TYPE_DOUBLE_NUMBER',				60);
define('PARAM_TYPE_TEXT',						70);
define('PARAM_TYPE_STRING',						80);
define('PARAM_TYPE_STRING_SELECTION',			90);
define('PARAM_TYPE_FLOAT_WITH_2_DECIMAL',		100);
define('PARAM_TYPE_SELECTION',				  120);

// PARAMETER types
define('PARAMETER_TYPE_SYSTEM',				1);
define('PARAMETER_TYPE_RESERVATIONS',		2);
define('PARAMETER_TYPE_TARGETING',			3);
define('PARAMETER_TYPE_ALERTS',				4);

// data input constrains
define('MAX_LENGTH_VISUAL_GROUP_CODE', 			25);
define('MAX_LENGTH_CODE', 						20);
define('MAX_LENGTH_USER_CODE', 					3);
define('MAX_LENGTH_NAME', 						255);
define('MAX_LENGTH_DESC', 						512);
define('MAX_LENGTH_PASSWORD', 					32);
define('MIN_LENGTH_PASSWORD', 					6);

// css color
define('SELECTED_RESERVATION_HOUR_COLOR', 		'#008000');
define('REQUIRE_FIELD_COLOR', 					'#FF0000');

define('_LB_REQUIRE_FIELD', 					'<span style="color:'.REQUIRE_FIELD_COLOR.';">*</span>');

// error number constant
define('ERR_IS_NOT_BELONG_TO_OBJECT', 			10);

// FIXED or NOT FIXED
define('FIXED_TYPE',							1);

// SUPPORT and REGIE
define('REGIE',									1);
define('SUPPORT',								2);

//AMCHART
define('MIN_VALUE_NOT_SHOW_IN_CHART',	0);

//define('AMCHART_PATH', APPLICATION_URL.'/scripts/amchart/');
define('AMCHART_COLUMN_PATH', APPLICATION_URL.'/scripts/amchart/column/');
define('AMCHART_LINE_PATH', APPLICATION_URL.'/scripts/amchart/line/');
define('AMCHART_EXPORT_IMAGE_FILE', APPLICATION_URL.'/scripts/amchart/export.php');

define('CHART_HEIGHT', 300);
define('CHART_WIDTH', 455);
define('CHART_FULL_WIDTH', 920);
define('LEGEND_HEIGHT', 20);
